﻿
namespace IDEAMS.model
{
    public class ChannelItemViewModel : ViewModelBase
    {
        private int m_no;
        public int no
        {
            get { return m_no; }
            set
            {
                this.m_no = value;
                NotifyPropertyChanged();
            }
        }

        private string m_name;
        public string name
        {
            get { return m_name; }
            set
            {
                this.m_name = value;
                NotifyPropertyChanged();
            }
        }

        public ChannelItemViewModel()
        {

        }

        public ChannelItemViewModel(ChannelItemViewModel v)
        {
            this.name = v.name;
            this.no = v.no;
        }

        public ChannelItemViewModel(int cNo, string cName)
        {
            this.no = cNo;
            this.name = cName;
        }
    }
}
